package edu.xlh.travel.pojo.querypojo;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 实体类
 *
 * @author Administrator
 */
@Entity
@Data
@Accessors(chain = true)
public class QueryOrders implements Serializable {
    @Id
    private String id;//id
    private String status;//状态
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;//订单创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date paytime;//支付时间
}
